pkgname=hackbench
pkgver=2.3
pkgrel=1
arch=('i386' 'x86_64')
url="https://www.kernel.org/pub/linux/utils/rt-tests"
license=('GPL')
# The url for latest pkg is https://www.kernel.org/pub/linux/utils/rt-tests/rt-tests-${pkgver}.tar.gz
# The url for outdated pkg is https://www.kernel.org/pub/linux/utils/rt-tests/older/rt-tests-${pkgver}.tar.gz
# We need to always use the latest version of the package to ensure that the URL is always valid.
source=("https://www.kernel.org/pub/linux/utils/rt-tests/rt-tests-${pkgver}.tar.gz")
sha256sums=('SKIP')

package() {
	mkdir -p "${pkgdir}/lkp/benchmarks/${pkgname}"
	cd "$srcdir/rt-tests-${pkgver}"
	make install DESTDIR="${pkgdir}/lkp/benchmarks/${pkgname}"
}
